package com.qiaoda.service;

import com.qiaoda.model.Resume;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/3/13 0013.
 */
public interface ResumeRepository extends ElasticsearchRepository<Resume, String> {

    public List<Resume> findBySchoolsAndDegreeCn(String schools, String degreeCn);
    public List<Resume> findBySchoolsOrDegreeCn(String schools, String degreeCn);

}
